﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Web.Mvc;

namespace MVC4App.Areas.Administrators.Controllers
{
    public interface IAdminBaseController : IController
    {
        /// <summary>
        /// Inserts this instance.
        /// </summary>
        /// <returns></returns>        
        PartialViewResult Insert(string action);
        /// <summary>
        /// Gets the paged.
        /// </summary>
        /// <param name="currentPage">The current page.</param>
        /// <returns></returns>        
        PartialViewResult GetPaged(int currentPage = 1);
        /// <summary>
        /// Gets the advanced.
        /// </summary>
        /// <param name="keyword">The keyword.</param>
        /// <param name="status">The status.</param>
        /// <param name="sort">The sort.</param>
        /// <param name="order">The order.</param>
        /// <param name="currentPage">The current page.</param>
        /// <param name="totalPage">The total page.</param>
        /// <returns></returns>
        PartialViewResult GetAdvanced(string keyword = null, bool? status = null, string sort = "default", int currentPage = 1, int totalPage = 0);
    }
}
